package org.lex.dbq.view.template;

import org.eclipse.swt.events.SelectionEvent;
import org.lex.dbq.model.bo.Variable;

public class AddVarHandler extends TemplateActionHandler {
	protected AddVarHandler(TemplateDialog dialog) {
		super(dialog);
	}

	@Override
	public void widgetSelected(SelectionEvent e) {
		Variable var = new Variable();
		dialog.url.addVadiable(var);
		dialog.variables.setInput(dialog.url);
	}
}
